body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

#game-container {
    position: relative;
    width: 800px;
    height: 600px;
    border: 1px solid #000;
    background-color: #fff;
    overflow: hidden;
}

.fruit {
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url('watermelon.png'); /* 西瓜图片，需替换为实际图片路径 */
    background-size: cover;
    border-radius: 50%;
}

.score {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
}